package com.limingru.online_class.mapper;

import com.limingru.online_class.domain.User;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface UserMapper {
    int saveUser(User user);

    List<User> findUserByPhoneAndPwd(User user);

    List<User> findUserByIdAndName(User user);

    List<User> findUserByPhone(User user);

    User findUserById(@Param("userId") Integer userId);
}
